package com.hp.tiger.concurrent.classloader.chapter5;

/**
 * @author XavierDong
 **/
public class NameSpace {

    public static void main(String[] args) throws ClassNotFoundException {

        ClassLoader classLoader = NameSpace.class.getClassLoader();
        Class<?> aClass1 = classLoader.loadClass("java.lang.String");
        Class<?> aClass2 = classLoader.loadClass("java.lang.String");
        System.out.println(aClass1.hashCode());
        System.out.println(aClass2.hashCode());
    }
}
